import java.util.ArrayList;


public class Transaction {

    /* ======================================================
     * MEMBERS
     * ====================================================== */
    private ArrayList<String> _items;
    
    /* ======================================================
     * CONSTRUCTOR
     * ====================================================== */
    public Transaction(ArrayList<String> list){
	_items = new ArrayList<String>();
	_items.addAll(list);
    }
    
    /* ======================================================
     * METHODS
     * ====================================================== */
    public ArrayList<String> getItems(){
	return _items;
    }
    
    public void print(){
	System.out.println(_items.toString());
    }
}
